package ru.lenwp.example;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * Created by Lenar on 01.12.2014.
 */
@Component("helloworld")
@Scope(value = "prototype")
public class HelloWorld implements IHelloWorld{

    @Override
    public void sayHello() {
        System.out.println("Hello World!!!");
    }
}
